// 《围棋》作者版权所有。版权所有。
// 此源代码的使用受BSD样式
// 许可证的约束，该许可证可以在许可证文件中找到。

// 开始：构建openbsd&！mips64 
// /+构建openbsd，！mips64-

package runtime

import "unsafe"

// go:nosplit-
// go:cgo-
func thrsleep(ident uintptr, clock_id int32, tsp *timespec, lock uintptr, abort *uint32) int32 {
	return libcCall(unsafe.Pointer(funcPC(thrsleep_trampoline)), unsafe.Pointer(&ident))
}
func thrsleep_trampoline()

// go:nosplit-
// go:cgo-
func thrwakeup(ident uintptr, n int32) int32 {
	return libcCall(unsafe.Pointer(funcPC(thrwakeup_trampoline)), unsafe.Pointer(&ident))
}
func thrwakeup_trampoline()

// go nosplit-
func osyield() {
	libcCall(unsafe.Pointer(funcPC(sched_yield_trampoline)), unsafe.Pointer(nil))
}
func sched_yield_trampoline()

// go nosplit-
func osyield_no_g() {
	asmcgocall_no_g(unsafe.Pointer(funcPC(sched_yield_trampoline)), unsafe.Pointer(nil))
}

// go go cgo-import-动态libc-THREEP-thrsleep-libc.so“
// go:cgo\u import\u dynamic libc\u sched\u yield sched\u yield\u yield\u yield\u libc.so“

// go:cgo\u import\u dynamic\uuuu libc.so”
